package com.xintonghua.base.ui;

import io.reactivex.subscribers.DisposableSubscriber;

/**
 * 作者：wanxianyi
 * 时间：2018/1/9.
 * 包名：com.xintonghua.hongyi.base
 */

public abstract class MySubscriber<T> extends DisposableSubscriber<T> {


    @Override
    public void onNext(T t) {
        next(t);
    }

    @Override
    public void onError(Throwable t) {

    }

    @Override
    public void onComplete() {

    }

    public abstract void next(T t);
}
